/**
 * 创建于：2017-6-16
 * 创建人：栗子哥哥
 * 说明：扇形进度条样式
 */

.bar-content{
  height: inherit;
  width: inherit;

  .bar-background{
    height: calc(100% - .25rem);
    width: calc(100% - .25rem);
    position: relative;
    border: .125rem solid #DFDFDF;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    z-index: 2;
  }
  .bar-cover{
    height: calc(100% - .25rem);
    width: calc(100% - .25rem);
    position: absolute;
    top: .125rem;
    left: .125rem;
    background-color: #FFFFFF;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    z-index: 4;
  }

  .bar-proportion-background {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 6;
    display: flex;

    .sx-1 {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 8;
      width: 100%;
      height: 100%;
      -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
      border-radius: 50%;
      transform: rotate(45deg);
      background-color: #FFF;
      clip: rect(0,6.25rem,6.25rem,3.125rem);
      /*-webkit-animation: an1 2s infinite linear; */
    }
    .sx-2 {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 8;
      width: 100%;
      height: 100%;
      -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
      border-radius: 50%;
      transform: rotate(-45deg);
      background-color: #FFF;
      clip: rect(0,3.125rem,6.25rem,0);
      /*-webkit-animation: an1 2s infinite linear; */
    }

  }
  .bar-proportion-cover{
    height: calc(100% - .5rem);
    width: calc(100% - .5rem);
    position: absolute;
    top: .25rem;
    left: .25rem;
    background-color: #FFFFFF ;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    z-index: 8;
  }
}
